package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 会员列表对象 vip_card
 * 
 * @author slh
 * @date 2022-11-28
 */
public class VipCardVo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 会员id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户名")
    private String uName;

    /** 会员卡类型 */
    @Excel(name = "会员卡类型")
    private String cardType;

    /** 会员状态 */
    @Excel(name = "会员状态")
    private Long status;

    /** 会员余额 */
    @Excel(name = "会员余额")
    private String money;

    /** 到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:MM:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:MM:ss")
    private Date createTime;

    /** 会员卡编号 */
    @Excel(name = "会员卡编号")
    private String cardUuid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setMoney(String money) 
    {
        this.money = money;
    }

    public String getMoney() 
    {
        return money;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public void setCardUuid(String cardUuid)
    {
        this.cardUuid = cardUuid;
    }

    public String getCardUuid() 
    {
        return cardUuid;
    }

    public Long getId() {
        return id;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    @Override
    public String toString() {
        return "VipCardVo{" +
                "id=" + id +
                ", uName='" + uName + '\'' +
                ", cardType='" + cardType + '\'' +
                ", status=" + status +
                ", money='" + money + '\'' +
                ", createTime=" + createTime +
                ", cardUuid='" + cardUuid + '\'' +
                '}';
    }
}
